package com.jwgf.queueprogramflash;

public class HexPage {
	private int startAddr;
	private byte[] data;
	
	public HexPage(int startAddr) {
		this.startAddr = startAddr;
	}
	
	public void Add(byte[] data, int start, int len) {
		this.data = new byte[len];
		System.arraycopy(data, start, this.data, 0, len);
	}
	
	public int getStartAddr() {
		return startAddr;
	}
	
	public byte[] getData() {
		return data;
	}
}
